const {createProxyMiddleware}  =  require('http-proxy-middleware')

module.exports = app => {
    app.use(
        '/apis',
        createProxyMiddleware({
            target:'http://www.shuiyue.info:12600',
            pathRewrite:{'/apis':''},
            changeOrigin:true
        })
    )
}